package com.grade.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.grade.common.annotation.Excel;
import com.grade.common.core.domain.BaseEntity;

/**
 * 模板和评分项关联对象 g_template_item_map
 * 
 * @author grade
 * @date 2021-10-18
 */
public class ItemTemplateRelation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 模板ID */
    private Long templateId;

    /** 分类ID */
    @Excel(name = "分类ID")
    private Long typeId;

    /** 分类名称 */
    @Excel(name = "分类名称")
    private String typeName;

    /** 父分类ID */
    @Excel(name = "父分类ID")
    private Long parentId;

    /** 分类名称 */
    @Excel(name = "分类名称")
    private String parentTypeName;

    /** 指标项ID */
    private Long itemId;

    /** 评价标准内容 */
    @Excel(name = "评价标准内容")
    private String itemContent;

    /** 分数 */
    @Excel(name = "分数")
    private Integer maxScore;

    private String firstColumn;
    private String secondColumn;
    private String threeColumn;
    private String fourColumn;
    private String fiveColumn;
    private String sixColumn;
    private Integer orderNum;

    public void setTemplateId(Long templateId) 
    {
        this.templateId = templateId;
    }

    public Long getTemplateId() 
    {
        return templateId;
    }
    public void setTypeId(Long typeId) 
    {
        this.typeId = typeId;
    }

    public Long getTypeId() 
    {
        return typeId;
    }
    public void setTypeName(String typeName) 
    {
        this.typeName = typeName;
    }

    public String getTypeName() 
    {
        return typeName;
    }
    public void setParentId(Long parentId) 
    {
        this.parentId = parentId;
    }

    public Long getParentId() 
    {
        return parentId;
    }
    public void setParentTypeName(String parentTypeName) 
    {
        this.parentTypeName = parentTypeName;
    }

    public String getParentTypeName() 
    {
        return parentTypeName;
    }
    public void setItemId(Long itemId) 
    {
        this.itemId = itemId;
    }

    public Long getItemId() 
    {
        return itemId;
    }
    public void setItemContent(String itemContent) 
    {
        this.itemContent = itemContent;
    }

    public String getItemContent() 
    {
        return itemContent;
    }

    public Integer getMaxScore() {
        return maxScore;
    }

    public void setMaxScore(Integer maxScore) {
        this.maxScore = maxScore;
    }

    public String getFirstColumn() {
        return firstColumn;
    }

    public void setFirstColumn(String firstColumn) {
        this.firstColumn = firstColumn;
    }

    public String getSecondColumn() {
        return secondColumn;
    }

    public void setSecondColumn(String secondColumn) {
        this.secondColumn = secondColumn;
    }

    public String getThreeColumn() {
        return threeColumn;
    }

    public void setThreeColumn(String threeColumn) {
        this.threeColumn = threeColumn;
    }

    public String getFourColumn() {
        return fourColumn;
    }

    public void setFourColumn(String fourColumn) {
        this.fourColumn = fourColumn;
    }

    public String getFiveColumn() {
        return fiveColumn;
    }

    public void setFiveColumn(String fiveColumn) {
        this.fiveColumn = fiveColumn;
    }

    public String getSixColumn() {
        return sixColumn;
    }

    public void setSixColumn(String sixColumn) {
        this.sixColumn = sixColumn;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("templateId", getTemplateId())
            .append("typeId", getTypeId())
            .append("typeName", getTypeName())
            .append("parentId", getParentId())
            .append("parentTypeName", getParentTypeName())
            .append("itemId", getItemId())
            .append("itemContent", getItemContent())
            .append("score", getMaxScore())
            .toString();
    }
}
